package insight.google.game.era.core.hub;

import java.util.List;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class PendingEventInfo {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key infoId;

	@Persistent
	private String sendUserId;
	
	@Persistent
	private String targetUserId;
	
	@Persistent
	private String roomId;
	
	@Persistent
	private String cardId;
	
	@Persistent
	private String callbackFunctionName;
	
	@Persistent
	private String paramStr1;
	
	@Persistent
	private String paramStr2;
	
	@Persistent
	private String paramStr3;
	
	@Persistent
	private List<String> paramList1;
	
	@Persistent
	private List<String> paramList2;
	
	@Persistent
	private List<String> paramList3;

	public String getSendUserId() {
		return sendUserId;
	}

	public void setSendUserId(String sendUserId) {
		this.sendUserId = sendUserId;
	}

	public String getTargetUserId() {
		return targetUserId;
	}

	public void setTargetUserId(String targetUserId) {
		this.targetUserId = targetUserId;
	}

	public String getRoomId() {
		return roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getCallbackFunctionName() {
		return callbackFunctionName;
	}

	public void setCallbackFunctionName(String callbackFunctionName) {
		this.callbackFunctionName = callbackFunctionName;
	}

	public String getParamStr1() {
		return paramStr1;
	}

	public void setParamStr1(String paramStr1) {
		this.paramStr1 = paramStr1;
	}

	public String getParamStr2() {
		return paramStr2;
	}

	public void setParamStr2(String paramStr2) {
		this.paramStr2 = paramStr2;
	}

	public String getParamStr3() {
		return paramStr3;
	}

	public void setParamStr3(String paramStr3) {
		this.paramStr3 = paramStr3;
	}

	public List<String> getParamList1() {
		return paramList1;
	}

	public void setParamList1(List<String> paramList1) {
		this.paramList1 = paramList1;
	}

	public List<String> getParamList2() {
		return paramList2;
	}

	public void setParamList2(List<String> paramList2) {
		this.paramList2 = paramList2;
	}

	public List<String> getParamList3() {
		return paramList3;
	}

	public void setParamList3(List<String> paramList3) {
		this.paramList3 = paramList3;
	}

	public String toString() {
		return KeyFactory.keyToString(infoId);
	}
}
